const contentCofig = {
  pageName: "menu",
  header: {
    title: "菜单列表",
    btnTitle: "新建菜单"
  },
  propList: [
    {
      label: "菜单名称",
      prop: "name",
      width: "180px"
    },
    {
      label: "级别",
      prop: "type",
      width: "120px"
    },
    {
      label: "菜单url",
      prop: "url",
      width: "150px"
    },
    {
      label: "菜单icon",
      prop: "icon",
      width: "150px"
    },
    {
      label: "排序",
      prop: "sort",
      width: "120px"
    },
    {
      label: "权限",
      prop: "permission",
      width: "150px"
    },

    // 创建时间
    {
      type: "timer",
      label: "创建时间",
      prop: "createAt"
    },
    {
      type: "timer",
      label: "更新时间",
      prop: "updateAt"
    },
    {
      type: "handler",
      label: "操作",
      width: "150px"
    }
  ],
  childrenTree: {
    rowKey: 'id',
    treeProps: {
      children: 'children'
    }
  }
}
export default contentCofig
